+2008-03-22 Matthew Barnes <mbarnes@redhat.com>
+
+ * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
+ New function implements GtkCellLayoutClass::get_cells. (#523787)
+
2008-03-22 Tor Lillqvist <tml@novell.com>
Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
static void gtk_entry_completion_reorder (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gint position);
+static GList * gtk_entry_completion_get_cells (GtkCellLayout *cell_layout);
static gboolean gtk_entry_completion_visible_func (GtkTreeModel *model,
GtkTreeIter *iter,
iface->set_cell_data_func = gtk_entry_completion_set_cell_data_func;
iface->clear_attributes = gtk_entry_completion_clear_attributes;
iface->reorder = gtk_entry_completion_reorder;
+ iface->get_cells = gtk_entry_completion_get_cells;
}
static void
gtk_cell_layout_reorder (GTK_CELL_LAYOUT (priv->column), cell, position);
}
+static GList *
+gtk_entry_completion_get_cells (GtkCellLayout *cell_layout)
+{
+ GtkEntryCompletionPrivate *priv;
+
+ priv = GTK_ENTRY_COMPLETION_GET_PRIVATE (cell_layout);
+
+ return gtk_tree_view_column_get_cell_renderers (priv->column);
+}
+
/* all those callbacks */
static gboolean
gtk_entry_completion_default_completion_func (GtkEntryCompletion *completion,